package com.ruoyi.material.service;

import com.ruoyi.material.domain.WarehouseOut;

import java.util.List;

/**
 * 出库单Service接口
 *
 * @author wng
 * @date 2024-08-04
 */
public interface IWarehouseOutService {
    /**
     * 查询出库单
     *
     * @param id 出库单主键
     * @return 出库单
     */
    public WarehouseOut selectWarehouseOutById(Long id);

    /**
     * 查询出库单列表
     *
     * @param warehouseOut 出库单
     * @return 出库单集合
     */
    public List<WarehouseOut> selectWarehouseOutList(WarehouseOut warehouseOut);

    /**
     * 新增出库单
     *
     * @param warehouseOut 出库单
     * @return 结果
     */
    public int insertWarehouseOut(WarehouseOut warehouseOut);

    /**
     * 修改出库单
     *
     * @param warehouseOut 出库单
     * @return 结果
     */
    public int updateWarehouseOut(WarehouseOut warehouseOut);

    /**
     * 批量删除出库单
     *
     * @param ids 需要删除的出库单主键集合
     * @return 结果
     */
    public int deleteWarehouseOutByIds(Long[] ids);

    /**
     * 删除出库单信息
     *
     * @param id 出库单主键
     * @return 结果
     */
    public int deleteWarehouseOutById(Long id);
}
